﻿using System.Data;
using PPI.General;
using PPI.WebConsumer.PPI.Svc;
namespace PPI.WebConsumer
{
    public class WVendor_Contacts
    {
        
        public static DataSet SelectAllIdNameByVendor(int vendorID)
        {
            try
            {
                ConfigReader _Reader = ConfigReader.GetInstance();
                PPI.Svc.Service1 svc = new Service1();

                return svc.DVendor_Contacts_SelectAllIdNameByVendor(vendorID, _Reader.ConectionMode);
            }
            catch(System.Exception ex)
            {
                throw ex;                
            }
        }
        
    }
}
